package beans;

import org.springframework.web.multipart.MultipartFile;

public class ApplicationBean {
	private int id;
	private float hod;
	private String nazev;
	private String popis;
	private String datum;
	private String tags;
	private int pocetStazeni;
	private MultipartFile icon;
	private MultipartFile content;
	private boolean editing;
	
	public int getId(){
		return id;
	}
	
	public void setId(int id){
		this.id = id;
	}
	
	public String getNazev() {
		return nazev;
	}
	public void setNazev(String nazev) {
		this.nazev = nazev;
	}
	
	public float getHod(){
		return hod;
	}
	
	public void setHod(float hod){
		this.hod = hod;
	}
	
	public String getDatum(){
		return datum;
	}
	
	public void setDatum(String datum){
		this.datum = datum;
	}	
	
	public String getPopis() {
		return popis;
	}
	public void setPopis(String popis) {
		this.popis = popis;
	}
	
	public MultipartFile getIcon() {
		return icon;
	}
	public void setIcon(MultipartFile icon) {
		this.icon = icon;
	}
	public MultipartFile getContent() {
		return content;
	}
	public void setContent(MultipartFile content) {
		this.content = content;
	}
	public int getPocetStazeni() {
		return pocetStazeni;
	}
	public void setPocetStazeni(int pocetStazeni) {
		this.pocetStazeni = pocetStazeni;
	}

	public String getTags() {
		return tags;
	}

	public void setTags(String tags) {
		this.tags = tags;
	}

	public void setEditing(boolean value) {
		editing = value;
	}
	
	public boolean isEditing(){
		return editing;
	}
}
